#pragma once

#ifdef USE_TINYXML
#include "LuaCommon.h"

namespace LuaGui {
	class LuaXml
	{
	public:
		static void Register(lua_State* L);

		static int ToXmlString(lua_State* L);
		static int FromXmlString(lua_State* L);

		static int ToXmlFile(lua_State* L);
		static int FromXmlFile(lua_State* L);
	};
}

#else
namespace LuaGui {
	class LuaXml
	{
	public:
		static void Register(lua_State* L) {}
	};
}

#endif // USE_TINYXML

